package org.jeecg.modules.wlhy.hyzyb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
@TableName("hy_zyb_status")
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class HyZybStatus implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "设备号")
    private String vehicleDevice;


    @ApiModelProperty(value = "货源id")
    private String orderId;


    @ApiModelProperty(value = "货源流水号")
    private String orderNum;


    @ApiModelProperty(value = "智运宝流水号")
    private String zybShippingNumber;


    @ApiModelProperty(value = "车辆Id")
    private String vehicleId;


    @ApiModelProperty(value = "运单状态")
    private String shippingStatus;


    @ApiModelProperty(value = "创建时间")
    private Date updateTime;

    @TableField(exist = false)
    private String vehicleNumber;

    @TableField(exist = false)
    private String shippingStatusString;

    @TableField(exist = false)
    private Integer status;

    @TableField(exist = false)
    private String statusName;
}
